package liveData.migration.toPhoenix.task.util;

/**
 * @program: LiveDataMigrationToPhoenix
 * @description:
 * @author: sunteng
 * @create: 2020-04-27 15:40
 **/
public class ConstantUtil {
    public static final String BOOTSTRAP_SERVER = "10.10.15.82:9092";
    public static final String BOOTSTRAP_SERVER_TEST = "10.10.15.82:9092";
    public static final String GROUP_ID = "test";
    public static final String FROM_TOPIC_TEST = "risk.management.mysql.paydayloan.verify.result";
    public static final String TO_PHONEIX_table_TEST = "VERIFY_RESULT_PHOENIX";
    public static final String FROM_TOPIC = "risk.management.mysql.paydayloan.verify.result";
    public static final String TO_PHONEIX_table = "VERIFY_RESULT_PHOENIX";

    public static final String DRIVERNAME = "org.apache.phoenix.jdbc.PhoenixDriver";
    public static final String DBURL = "jdbc:phoenix:10.10.12.215,10.10.12.216,10.10.12.129:2181:/hbase";
    public static final String DBURL_TEST = "jdbc:phoenix:10.10.12.215,10.10.12.216,10.10.12.129:2181:/hbase";
    public static final String REGEX_TIME="([0-9]{3}[1-9]|[0-9]{2}[1-9][0-9]{1}|[0-9]{1}[1-9][0-9]{2}|[1-9][0-9]{3})-(((0[13578]|1[02])-(0[1-9]|[12][0-9]|3[01]))|((0[469]|11)-(0[1-9]|[12][0-9]|30))|(02-(0[1-9]|[1][0-9]|2[0-8])))\\s([0-1][0-9]|2[0-3]):([0-5][0-9]):([0-5][0-9])";

}
